/**
 * Workplace stylesheets for www.csernohorszky.com.
 * @author Christoph Lukas Lindtner
 */

html, body {
	height: 100%;
	margin: 0;
	padding : 0;
}

body {
	background-attachment: fixed;
	background-color: #ffffff;
	background-image: url(../../img/site/background-gradiant.png);
	background-repeat-y: no-repeat;
	background-size: contain;
	box-sizing: border-box;
	overflow: scroll;
	overflow-x: hidden;
	padding: 30px 0 0 0;
}

/* -- Main site elements ---------------------------------------------------------------------------------- */

body > div.tracker {
	font-size: 9px;
	margin: 0 auto 8px auto;
	width: 900px;
}

body > div.tracker a {
	color: #626262;
	font-size: inherit;
	text-decoration: none;
}

body div#site {
	background-color: #ffffff;
	box-shadow: 2.5px 2.5px 3px -2px #cdcdcd, -2.5px 0 3px -2px #cdcdcd;
	box-sizing: border-box;
	margin: 0 auto;
	position: relative;
	width: 910px;
}

body > div header {
	box-sizing: border-box;
	position: relative;
	width: 100%;
}


body > div header .logo {
	background-image: url("../../img/site/logos/logo-premiumpack.jpg");
	background-position: 20px center;
	background-repeat: no-repeat;
	background-size: 160px 65px;
	color: #888888;
	cursor: pointer;
	display: inline-block;
	font-size: 22px;
	height: 75px;
	letter-spacing: 0.4em;
	line-height: 75px;
	width: 200px;
}

body > div header div#flashContent {
	display: inline-block;
	padding-top: 8px;
	vertical-align: top;
}

body > div header .language-selection {
	display: inline-block;
	height: 20px;
	padding-right: 20px;
	position: absolute;
	right: 0px;
	top: 25px;
}

body > div header .language-selection a {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 16px 11px;
	border: 1px solid rgba(0,0,0,0);
	color: #888888;
	display: inline-block;
	font-size: 10px;
	padding: 3px;
	text-transform: uppercase;
	text-decoration: none;
}

/*
body > div header .language-selection a.de {
	background-image: url(/img/application/flags/at.png);
}

body > div header .language-selection a.en {
	background-image: url(/img/application/flags/gb.png);
}

body > div header .language-selection a.es {
	background-image: url(/img/application/flags/es.png);
}

body > div header .language-selection a.ru {
	background-image: url(/img/application/flags/ru.png);
}
*/

body > div header .language-selection a:not(:last-child) {
	margin-right: 1px;
}

body > div header .language-selection a:hover, body > div header .language-selection a.active {
	border-color: #568dc3;
}

body > div header .slideshow {
	height: 300px;
	padding: 5px;
	position: relative;
	width: 900px;
}

body > div header .slideshow > ul#slideShowControl {
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	bottom: 20px;
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 20px;
}

body > div header .slideshow > ul#slideShowControl > li {
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	background-color: #ffffff;
	border-radius: 50%;
	box-shadow: inset 2.5px 2.5px 3px -2px #434343;
	cursor: pointer;
	display: inline-block;
	height: 15px;
	margin: 0;
	transition: background-color 1200ms ease-in-out;
	width: 15px;
}

body > div header .slideshow > ul#slideShowControl > li:not(:last-child) {
	margin-right: 6px;
}

body > div header .slideshow > ul#slideShowControl > li.active {
	background-color: #568dc3;
}

body > div header .slideshow .mask {
	border-radius: 2px;
  height: 300px;
  overflow: hidden;
}

body > div header .slideshow .mask ul {
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}

body > div header .slideshow .mask ul li {
	-ms-animation-duration: 1200ms;
 	-ms-animation-fill-mode: both;
 	-ms-animation-timing-function: ease-out;
	-webkit-animation-duration: 1200ms;
 	-webkit-animation-fill-mode: both;
 	-webkit-animation-timing-function: ease-out;
 	animation-duration: 1200ms;
 	animation-fill-mode: both;
 	animation-timing-function: ease-out;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 900px 300px;
	font-size: 0;
	height: 300px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: -300px;
	width: 900px;
}

body > div header .slideshow .mask ul li.default-image {
	background-image: url(../../img/site/slideshow/default-image.jpg);
}

body > div header .slideshow .mask ul li.in {
	-ms-animation-name: move-in;
	-webkit-animation-name: move-in;
	animation-name: move-in;
}

body > div header .slideshow .mask ul li.out {
	-ms-animation-name: move-out;
	-webkit-animation-name: move-out;
	animation-name: move-out;
}

body > div header .slideshow .mask ul li .tooltip {
	background-color: #568dc3;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
	bottom: 20px;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 24px;
	left: -340px;
	opacity: .9;
	overflow: hidden;
	padding: 20px;
	position: absolute;
	text-overflow: ellipsis;
	transition: left 400ms ease-in-out;
	white-space: nowrap;
	width: 340px;
	z-index: 10;
}

body > div header .slideshow .mask ul li:hover {
	/*-webkit-animation-play-state: paused; /* Chrome, Safari, Opera */
   /*animation-play-state: paused;*/
}

body > div header .slideshow .mask ul li:hover .tooltip {
	left: 0;
}


/* -- Main & Submenu -------------------------------------------------------------------------------------- */

/*
 * Common menu style
 */
 
[role=menu] [role=menuitem] {
	box-sizing: border-box;
	cursor: pointer;
}

[role=menu] [role=menuitem] a {
	color: #888888;
	display: block;
	font-size: 16px;
	padding: 12px 16px;
	text-decoration: none;
}

[role=menu] [role=menuitem]:hover, [role=menu] [role=menuitem].active {
	background-color: #568dc3;
}

[role=menu] [role=menuitem]:hover > a, [role=menu] [role=menuitem].active > a {
	color: #ffffff;
}

/* 
 * Main menu
 */
[role=menu].mainmenu {
	background-color: #f2f2f2;
	font-size: 0;
	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	left: -1px;
	padding: 0;
	position: absolute;
	top: 385px;
	width: 912px;
}

[role=menu].mainmenu [role=menuitem] {
	display: inline-block;
	position: relative;
	text-align: center;
}

[role=menu].mainmenu > [role=menuitem] {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

[role=menu].mainmenu > [role=menuitem]:not(:last-child) {
	margin-right: 1px;
}

[role=menu].mainmenu > [role=menuitem]:first-child {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

[role=menu].mainmenu > [role=menuitem]:first-child > a {
	padding-left: 41px;
}

[role=menu].mainmenu > [role=menuitem]:last-child {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

[role=menu].mainmenu > [role=menuitem]:last-child > a {
	padding-right: 41px;
}

[role=menu].submenu {
	background-color: #ffffff;
	border: 1px solid #568dc3;
	border-top: 0;
	box-shadow: 2.5px 2.5px 3px -2.5px #434343;
	display: none;
	left: 0;
	min-width: 200px;
	position: absolute;
	top: 43px;
	z-index: 99;
}

[role=menu].submenu [role=menuitem] {
	display: block;
	text-align: left;
	white-space: nowrap;
}

[role=menu].submenu > [role=menuitem]:not(:last-child) {
	margin-bottom: 1px;
}

[role=menu].mainmenu [role=menuitem]:hover [role=menu].submenu {
	display: block;
}

/* -- Content section ------------------------------------------------------------------------------------- */

/*
 * Article
 */
 
body > div > article {
	box-sizing: border-box;
	padding: 70px 40px 30px 40px;
	vertical-align: top;
}

body > div > article :last-child {
	margin-bottom: 0;
}

body > div > article img {
	box-shadow: 2.5px 2.5px 3px -2.5px #cdcdcd;
}

body video.landing-page {
	background-color: #ffffff;
	padding: 45px 5px 0 5px;
}

body video.landing-page + article {
	padding-top: 30px;
}

/*
 * Footer
 */
body > footer {
	color: #8b8b8b;
	font-size: 11px;
	margin: 0 auto;
	padding: 8px 5px 30px 5px;
	position: relative;
	width: 900px;
}

body > footer p {
	margin: 0;
}

body > footer address {
	font-style: normal;
	position: absolute;
	right: 0;
	text-align: right;
	top: 8px;
	width: 600px;
}

body > footer a {
	color: #8b8b8b;
	text-decoration: none;
}

body > footer a:hover {
	color: #8b8b8b;
	text-decoration: underline;
}


/*
 * Cookie policy
 */
 .cookie-policy {
	background-color: #212121;
	color: #FFFFFF;
	bottom: 0;
	padding: 20px;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

.cookie-policy > div {
	display: inline-block;
	vertical-align: center;
	width: 90%;
}

.cookie-policy button {
	background: #568dc3;
	border: none;
	border-radius: 0;
	color: #FFFFFF;
	cursor: pointer;
	display: inline-block;
	margin-left: 24px;
}


/* -- Animation ------------------------------------------------------------------------------------------- */

/* This is the animation code. */

@keyframes move-in {
	0% {
		opacity: 0;
	  top: -300px;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	  top: 0;
	}
}

@keyframes move-out {
	0% {
	  opacity: 1;
	  top: 0;
	}
	76% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	  top: 300px;
	}
}

@-ms-keyframes move-in {
	0% {
		opacity: 0;
	  top: -300px;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	  top: 0;
	}
}

@-ms-keyframes move-out {
	0% {
	  opacity: 1;
	  top: 0;
	}
	76% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	  top: 300px;
	}
}

@-webkit-keyframes move-in {
	0% {
		opacity: 0;
	  top: -300px;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	  top: 0;
	}
}

@-webkit-keyframes move-out {
	0% {
	  opacity: 1;
	  top: 0;
	}
	76% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	  top: 300px;
	}
}